package world.snowcrystal.commons.utils;

import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import world.snowcrystal.commons.model.enums.SnowcrystalHeaders;

public class HashUtils {

    public static void colorize(HttpServletRequest request, HttpServletResponse response) {
        StringBuilder builder = new StringBuilder();
        builder.append(request.getRequestURI());
        builder.append(request.getProtocolRequestId());;
        response.addHeader(SnowcrystalHeaders.COLORIZE_HEADER.value(), builder.toString());


    }


}
